package com.itheima.service.mongo;

import com.itheima.domain.mongo.Comment;
import com.itheima.vo.PageBeanVo;
import org.bson.types.ObjectId;

public interface CommentService {
    //添加评论
    Integer saveMovementComment(Comment comment);

    //删除评论
    Integer deleteMovementComment(Comment comment);

    //查询指定动态的评论列表
    PageBeanVo findMovementCommentList(String movementId, Integer pageNum, Integer pageSize);

    //统计评论消息(点赞，评论，喜欢，通知)
    PageBeanVo countCommentInfo(Long userId, Integer commentType, Integer pageNum, Integer pageSize);

    //添加视频点赞/评论
    Integer saveVideoComment(Comment comment);

    //视频取消点赞
    Integer deleteVideoComment(Comment comment);

    //给视频评论点赞
    void saveVideoCommentLike(ObjectId publishId,Long userId);

    //给视频评论点赞取消
    void deleteVideoCommentLike(ObjectId publishId, Long userId);







 /*   //视频点赞
    void saveVideoComment(Comment comment);
    //视频取消点赞
    void deleteVideoComment(Comment comment);
    //查询指定视频的评论列表
    PageBeanVo findCommentByVideoId(String videoId, Integer pageNum, Integer pageSize);*/
}
